import { ClassesFields, ProfileFields } from "@/queries/fields";
import { gql } from "@apollo/client";

export const ViewerQuery = gql`
  query Viewer{
    currentUser{
      id
      account
      role
      profile{
        ${ProfileFields}
      }
      classes{
        ${ClassesFields}
      }
    }
  }
`